#ifndef DIALOG_H
#define DIALOG_H

#include <QWidget>
#include<QLabel>
#include<QComboBox>
#include<QTextEdit>
#include<QGridLayout>
#include<QLineEdit>
#include<QPushButton>
QT_BEGIN_NAMESPACE
namespace Ui { class dialog; }
QT_END_NAMESPACE

class dialog : public QWidget
{
    Q_OBJECT

public:
    dialog(QWidget *parent = nullptr);
    ~dialog();

private:
    Ui::dialog *ui;
    QLabel *lWno;
    QLabel *lWname;
    QLabel *lWsex;
    QLabel *lWdep;
    QLabel *lWage;
    QLabel *MyselfInfo;

    QLineEdit *leWno;
    QLineEdit *leWname;
    QLineEdit *leWage;
    QComboBox *CWnsex;
    QTextEdit * TWp;
    QTextEdit * MyselfInfoTextEdit;

    //2.右边 水平布局
    QHBoxLayout * toprightlayout;
    QVBoxLayout *rightlayout;
    QGridLayout *lLayout;

    QPushButton *okbutton,*cancelbutton;

    QHBoxLayout *buttomLayout;


private slots:

};
#endif // DIALOG_H
